<!DOCTYPE html>
<!--[if IE 7]><html class="ie ie7" lang="zh-CN"><![endif]-->
<!--[if IE 8]><html class="ie ie8" lang="zh-CN"><![endif]-->
<!--[if !(IE 7) | !(IE 8)  ]><!--><html lang="zh-CN"><!--<![endif]-->
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="keywords" content="云维在线">
    <meta name="description" content="云维在线">
    <base href="<?php echo _Http;?>" />
    <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="web/css/bootstrap-3.2.0.min.css">
<style type="text/css">
    #myModal {
        width: 100%;
        height: 100%;
    }
    #myModal .modal-header {
        background-color: #449d44;
    }
    #myModal .modal-title  {
        color: #fff;
    }
    #myModal .modal-body {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    #myModal .modal-footer {
        /*text-align: center;*/
    }
</style>
    <title> 提示信息 - 云维在线</title>
</head>

</head>
<body>

<div id="myModal" class="modal fade in" role="dialog" aria-labelledby="myModalLabel" aria-hidden="false" data-backdrop="" style="display:block">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <!-- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> -->
          <h4 class="modal-title">提示信息</h4>
        </div>
        <div class="modal-body">
            <?php echo $msg; ?>
        </div>
        <div class="modal-footer">
            <!-- <button type="button" class="btn btn-default btn-close">关闭</button> -->
    <?php
    if ($url_forward=='goback' || $url_forward=='') {
    ?>
    <button type="button" class="btn btn-default" onclick="javascript:history.back();" >点击这里返回上一页</button>
    <?php
    } elseif ($url_forward == "close") {
    ?>
        <button type="button" class="btn btn-default" onClick="window.close();">关闭</button>
    <?php
    } elseif ($url_forward == "blank") {
    } elseif ($url_forward) {
    ?>
    <button type="button" class="btn btn-default" onclick="location.href='<?php echo strip_tags($url_forward); ?>';" >如果您的浏览器没有自动跳转，请点击这里</button>
    <script language="javascript">setTimeout("redirect('<?php echo strip_tags($url_forward); ?>')", <?php echo $ms; ?>);</script>
    <?php
        }
    ?>
         </div>
      </div>
    </div>
</div>
<script src="web/js/jquery-1.11.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
    centerModal($('#myModal'));
});

function centerModal(that) {
    that.css('display', 'block');
    var $dialog = that.find(".modal-dialog");
    var offset = ($(window).height() - $dialog.height()) / 2;
    // Center modal vertically in window
    $dialog.css("margin-top", offset);
}

$(window).on("resize", function () {
    centerModal($('#myModal'));
});

function redirect(url) {
    location.href = url.replace('&amp;', '&');
}
</script>
</body>
</html>